import { axios } from '@/utils/request'

/**
 * 排班记录
 *
 * @author H
 */

// 排班记录- 排班列表
export function SchedulingList(params) {
    return axios({
        url: '/scheduling/list',
        method: 'get',
        params: params
    })
}
// 通过名字查询
export function SchedulingSelectUser(params) {
    return axios({
        url: '/scheduling/selectUser',
        method: 'get',
        params: params
    })
}

// 新增排班
export function SchedulingAddTbShift(params) {
    return axios({
        url: '/scheduling/addTbShift',
        method: 'post',
        data: params
    })
}

// 编辑排班查询 
export function SchedulingModifyQueryTbShift(params) {
    return axios({
        url: '/scheduling/modifyQueryTbShift',
        method: 'post',
        data: params
    })
}

// 编辑提交接口
export function SchedulingUpdateTbShift(params) {
    return axios({
        url: '/scheduling/updateTbShift',
        method: 'post',
        data: params
    })
}
// 作废接口
export function SchedulingDeleteTbShift(params) {
    return axios({
        url: '/scheduling/deleteTbShift',
        method: 'get',
        params: params
    })
}

// 班次列表
export function shiftTypeSelectTpshiftType(params) {
    return axios({
        url: '/shiftType/selectTpshiftType',
        method: 'get',
        params: params
    })
}

// 班次列表科室
export function shiftTypeSelectTgbDepartmentGroup(params) {
    return axios({
        url: '/shiftType/selectTgbDepartmentGroup',
        method: 'get',
        params: params
    })
} 
// 班次列表新增
export function AddTpShiftType(params) {
    return axios({
        url: '/shiftType/addTpShiftType',
        method: 'post',
        data: params
    })
} 
 
// 班次--编辑查询
export function shiftTypeSelectTpShiftTypeDept(params) {
    return axios({
        url: '/shiftType/selectTpShiftTypeDept',
        method: 'get',
        params: params
    })
} 
 
// 班次 -- 编辑新增
export function UpdateTpShiftType(params) {
    return axios({
        url: '/shiftType/updateTpShiftType',
        method: 'post',
        data: params
    })
} 



















































// 李湘军是狗